package yl.hs.bmipfull.service.finance;

import yl.hs.bmipfull.pojo.comments.SearchDataCate;
import yl.hs.bmipfull.pojo.material.PurchaseReceiptEntity;
import yl.hs.bmipfull.viewmodels.PageQuery;
import yl.hs.bmipfull.viewmodels.PageResult;
import yl.hs.bmipfull.viewmodels.SubmitModel;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/*
 * IReceiptSettleService 采购结算服务接口
 * @category 财务管理-采购结算
 * @author 谢景广
 * @date 2021-12-29
 */
public interface IReceiptSettleService extends IFinanceService{

    PageResult<Map<String,Object>> queryPage(PageQuery query, int rowNum, int page) throws ParseException;

    Map<String,Object> querySettleDetailsBySettleSN(String settleSN);

    List<Map<String,Object>> queryTempSettleDetails(String contractSN, String companySN, String startDate, String endDate) throws ParseException;

    Integer cancelSettle(String settleSN);

    int updateExportCount(String settleSN);

    Integer saveSettle(SubmitModel submitModel) throws Exception;

    List<PurchaseReceiptEntity> querySettleOrdersBySettleSN(String settleSN);




}
